package tgc.edu.yzy.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import tgc.edu.yzy.custom.CommonService;
import tgc.edu.yzy.entity.EimAdmin;
import tgc.edu.yzy.repostory.AdminRepository;

@Service
public class AdminService extends CommonService<EimAdmin, Integer>{
	@Autowired
	private AdminRepository adminDAO;

	public long count() {
		return adminDAO.count();
	}
	
}
